home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1989-12-15 | 10.6 KB | [ TEXT/MSWD]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, inited, Fri Dec 15 16:07:10 1989, modified Fri Dec 15 16:07:10 1989, creator Microsoft Word, type ASCII, 10331 bytes "MPW 3.0 interfaces:text only" , at 0x28db 286 bytes resource
default (weak)
99%
file
data
default
49%
TrID
Macintosh plain text (MacBinary)
default
33%
TrID
SpeedScript document (C64)
default (weak)
16%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ MSWD]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 1c 4d 50 57 20 33 2e | 30 20 69 6e 74 65 72 66 |..MPW 3.|0 interf| |00000010| 61 63 65 73 3a 74 65 78 | 74 20 6f 6e 6c 79 00 00 |aces:tex|t only..| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 4d 53 57 | 44 01 00 00 00 00 80 00 |.TEXTMSW|D.......| |00000050| 00 00 00 00 00 28 5b 00 | 00 01 1e a1 af 0d 7e a1 |.....([.|......~.| |00000060| af 0d 7e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..~.....|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b5 72 00 00 |........|.....r..| |00000080| 4d 50 57 20 33 2e 30 20 | 69 6e 74 65 72 66 61 63 |MPW 3.0 |interfac| |00000090| 65 73 20 66 6f 72 20 74 | 68 65 20 4f 66 66 53 63 |es for t|he OffSc| |000000a0| 72 65 65 6e 20 53 75 70 | 70 6f 72 74 20 70 61 63 |reen Sup|port pac| |000000b0| 6b 61 67 65 20 6f 66 20 | 33 32 20 42 69 74 20 51 |kage of |32 Bit Q| |000000c0| 44 3a 20 0d 0d 7b 0d 43 | 72 65 61 74 65 64 3a 20 |D: ..{.C|reated: | |000000d0| 53 75 6e 64 61 79 2c 20 | 4d 61 72 63 68 20 32 36 |Sunday, |March 26| |000000e0| 2c 20 31 39 38 39 20 61 | 74 20 37 3a 33 30 20 50 |, 1989 a|t 7:30 P| |000000f0| 4d 0d 20 20 20 20 4f 66 | 66 73 63 72 65 65 6e 2e |M. Of|fscreen.| |00000100| 70 0d 20 20 20 20 50 61 | 73 63 61 6c 20 49 6e 74 |p. Pa|scal Int| |00000110| 65 72 66 61 63 65 20 74 | 6f 20 74 68 65 20 4d 61 |erface t|o the Ma| |00000120| 63 69 6e 74 6f 73 68 20 | 4c 69 62 72 61 72 69 65 |cintosh |Librarie| |00000130| 73 0d 0d 20 20 20 20 43 | 6f 70 79 72 69 67 68 74 |s.. C|opyright| |00000140| 20 41 70 70 6c 65 20 43 | 6f 6d 70 75 74 65 72 2c | Apple C|omputer,| |00000150| 20 49 6e 63 2e 20 20 31 | 39 38 35 2d 31 39 38 39 | Inc. 1|985-1989| |00000160| 0d 20 20 20 20 41 6c 6c | 20 72 69 67 68 74 73 20 |. All| rights | |00000170| 72 65 73 65 72 76 65 64 | 0d 7d 0d 0d 0d 7b 24 49 |reserved|.}...{$I| |00000180| 46 43 20 55 4e 44 45 46 | 49 4e 45 44 20 55 73 69 |FC UNDEF|INED Usi| |00000190| 6e 67 49 6e 63 6c 75 64 | 65 73 7d 0d 7b 24 53 45 |ngInclud|es}.{$SE| |000001a0| 54 43 20 55 73 69 6e 67 | 49 6e 63 6c 75 64 65 73 |TC Using|Includes| |000001b0| 20 3a 3d 20 30 7d 0d 7b | 24 45 4e 44 43 7d 0d 0d | := 0}.{|$ENDC}..| |000001c0| 7b 24 49 46 43 20 4e 4f | 54 20 55 73 69 6e 67 49 |{$IFC NO|T UsingI| |000001d0| 6e 63 6c 75 64 65 73 7d | 0d 20 20 20 20 55 4e 49 |ncludes}|. UNI| |000001e0| 54 20 4f 66 66 73 63 72 | 65 65 6e 3b 0d 20 20 20 |T Offscr|een;. | |000001f0| 20 49 4e 54 45 52 46 41 | 43 45 0d 7b 24 45 4e 44 | INTERFA|CE.{$END| |00000200| 43 7d 0d 0d 7b 24 49 46 | 43 20 55 4e 44 45 46 49 |C}..{$IF|C UNDEFI| |00000210| 4e 45 44 20 55 73 69 6e | 67 4f 66 66 73 63 72 65 |NED Usin|gOffscre| |00000220| 65 6e 7d 0d 7b 24 53 45 | 54 43 20 55 73 69 6e 67 |en}.{$SE|TC Using| |00000230| 4f 66 66 73 63 72 65 65 | 6e 20 3a 3d 20 31 7d 0d |Offscree|n := 1}.| |00000240| 0d 7b 24 49 2b 7d 0d 7b | 24 53 45 54 43 20 4f 66 |.{$I+}.{|$SETC Of| |00000250| 66 73 63 72 65 65 6e 49 | 6e 63 6c 75 64 65 73 20 |fscreenI|ncludes | |00000260| 3a 3d 20 55 73 69 6e 67 | 49 6e 63 6c 75 64 65 73 |:= Using|Includes| |00000270| 7d 0d 7b 24 53 45 54 43 | 20 55 73 69 6e 67 49 6e |}.{$SETC| UsingIn| |00000280| 63 6c 75 64 65 73 20 3a | 3d 20 31 7d 0d 7b 24 49 |cludes :|= 1}.{$I| |00000290| 46 43 20 55 4e 44 45 46 | 49 4e 45 44 20 55 73 69 |FC UNDEF|INED Usi| |000002a0| 6e 67 51 75 69 63 6b 64 | 72 61 77 7d 0d 7b 24 49 |ngQuickd|raw}.{$I| |000002b0| 20 24 24 53 68 65 6c 6c | 28 50 49 6e 74 65 72 66 | $$Shell|(PInterf| |000002c0| 61 63 65 73 29 51 75 69 | 63 6b 64 72 61 77 2e 70 |aces)Qui|ckdraw.p| |000002d0| 7d 0d 7b 24 45 4e 44 43 | 7d 0d 7b 24 53 45 54 43 |}.{$ENDC|}.{$SETC| |000002e0| 20 55 73 69 6e 67 49 6e | 63 6c 75 64 65 73 20 3a | UsingIn|cludes :| |000002f0| 3d 20 4f 66 66 73 63 72 | 65 65 6e 49 6e 63 6c 75 |= Offscr|eenInclu| |00000300| 64 65 73 7d 0d 0d 43 4f | 4e 53 54 0d 0d 7b 20 4e |des}..CO|NST..{ N| |00000310| 65 77 20 65 72 72 6f 72 | 20 63 6f 64 65 73 20 7d |ew error| codes }| |00000320| 0d 0d 63 44 65 70 74 68 | 45 72 72 20 3d 20 2d 31 |..cDepth|Err = -1| |00000330| 35 37 3b 0d 0d 7b 20 53 | 65 74 20 6f 66 20 66 6c |57;..{ S|et of fl| |00000340| 61 67 73 20 75 73 65 64 | 20 62 79 20 4f 66 66 73 |ags used| by Offs| |00000350| 63 72 65 65 6e 20 72 6f | 75 74 69 6e 65 73 20 20 |creen ro|utines | |00000360| 7d 0d 0d 54 79 70 65 20 | 47 57 6f 72 6c 64 46 6c |}..Type |GWorldFl| |00000370| 61 67 73 20 3d 20 53 45 | 54 20 4f 46 20 28 0d 20 |ags = SE|T OF (. | |00000380| 20 20 20 70 69 78 50 75 | 72 67 65 2c 0d 20 20 20 | pixPu|rge,. | |00000390| 20 6e 6f 4e 65 77 44 65 | 76 69 63 65 2c 0d 20 20 | noNewDe|vice,. | |000003a0| 20 20 67 57 6f 72 6c 64 | 46 6c 61 67 32 2c 0d 20 | gWorld|Flag2,. | |000003b0| 20 20 20 67 57 6f 72 6c | 64 46 6c 61 67 33 2c 0d | gWorl|dFlag3,.| |000003c0| 20 20 20 20 67 57 6f 72 | 6c 64 46 6c 61 67 34 2c | gWor|ldFlag4,| |000003d0| 0d 20 20 20 20 67 57 6f | 72 6c 64 46 6c 61 67 35 |. gWo|rldFlag5| |000003e0| 2c 0d 20 20 20 20 70 69 | 78 65 6c 73 50 75 72 67 |,. pi|xelsPurg| |000003f0| 65 61 62 6c 65 2c 0d 20 | 20 20 20 70 69 78 65 6c |eable,. | pixel| |00000400| 73 4c 6f 63 6b 65 64 2c | 0d 20 20 20 20 67 57 6f |sLocked,|. gWo| |00000410| 72 6c 64 46 6c 61 67 38 | 2c 0d 20 20 20 20 67 57 |rldFlag8|,. gW| |00000420| 6f 72 6c 64 46 6c 61 67 | 39 2c 0d 20 20 20 20 67 |orldFlag|9,. g| |00000430| 57 6f 72 6c 64 46 6c 61 | 67 31 30 2c 0d 20 20 20 |WorldFla|g10,. | |00000440| 20 67 57 6f 72 6c 64 46 | 6c 61 67 31 31 2c 0d 20 | gWorldF|lag11,. | |00000450| 20 20 20 67 57 6f 72 6c | 64 46 6c 61 67 31 32 2c | gWorl|dFlag12,| |00000460| 0d 20 20 20 20 67 57 6f | 72 6c 64 46 6c 61 67 31 |. gWo|rldFlag1| |00000470| 33 2c 0d 20 20 20 20 67 | 57 6f 72 6c 64 46 6c 61 |3,. g|WorldFla| |00000480| 67 31 34 2c 0d 20 20 20 | 20 67 57 6f 72 6c 64 46 |g14,. | gWorldF| |00000490| 6c 61 67 31 35 2c 0d 20 | 20 20 20 6d 61 70 50 69 |lag15,. | mapPi| |000004a0| 78 2c 0d 20 20 20 20 6e | 65 77 44 65 70 74 68 2c |x,. n|ewDepth,| |000004b0| 0d 20 20 20 20 61 6c 69 | 67 6e 50 69 78 2c 0d 20 |. ali|gnPix,. | |000004c0| 20 20 20 6e 65 77 52 6f | 77 42 79 74 65 73 2c 0d | newRo|wBytes,.| |000004d0| 20 20 20 20 72 65 61 6c | 6c 6f 63 50 69 78 2c 0d | real|locPix,.| |000004e0| 20 20 20 20 67 57 6f 72 | 6c 64 46 6c 61 67 32 31 | gWor|ldFlag21| |000004f0| 2c 0d 20 20 20 20 67 57 | 6f 72 6c 64 46 6c 61 67 |,. gW|orldFlag| |00000500| 32 32 2c 0d 20 20 20 20 | 67 57 6f 72 6c 64 46 6c |22,. |gWorldFl| |00000510| 61 67 32 33 2c 0d 20 20 | 20 20 67 57 6f 72 6c 64 |ag23,. | gWorld| |00000520| 46 6c 61 67 32 34 2c 0d | 20 20 20 20 67 57 6f 72 |Flag24,.| gWor| |00000530| 6c 64 46 6c 61 67 32 35 | 2c 0d 20 20 20 20 67 57 |ldFlag25|,. gW| |00000540| 6f 72 6c 64 46 6c 61 67 | 32 36 2c 0d 20 20 20 20 |orldFlag|26,. | |00000550| 67 57 6f 72 6c 64 46 6c | 61 67 32 37 2c 0d 20 20 |gWorldFl|ag27,. | |00000560| 20 20 63 6c 69 70 50 69 | 78 2c 0d 20 20 20 20 73 | clipPi|x,. s| |00000570| 74 72 65 74 63 68 50 69 | 78 2c 0d 20 20 20 20 64 |tretchPi|x,. d| |00000580| 69 74 68 65 72 50 69 78 | 2c 0d 20 20 20 20 67 77 |itherPix|,. gw| |00000590| 46 6c 61 67 45 72 72 20 | 0d 20 20 20 20 29 3b 0d |FlagErr |. );.| |000005a0| 0d 54 59 50 45 0d 09 47 | 57 6f 72 6c 64 50 74 72 |.TYPE..G|WorldPtr| |000005b0| 20 3d 20 43 47 72 61 66 | 50 74 72 3b 0d 0d 0d 46 | = CGraf|Ptr;...F| |000005c0| 55 4e 43 54 49 4f 4e 20 | 4e 65 77 47 57 6f 72 6c |UNCTION |NewGWorl| |000005d0| 64 20 28 56 41 52 20 6f | 66 66 73 63 72 65 65 6e |d (VAR o|ffscreen| |000005e0| 47 57 6f 72 6c 64 3a 20 | 47 57 6f 72 6c 64 50 74 |GWorld: |GWorldPt| |000005f0| 72 3b 20 70 69 78 65 6c | 44 65 70 74 68 3a 20 49 |r; pixel|Depth: I| |00000600| 4e 54 45 47 45 52 3b 0d | 09 09 09 62 6f 75 6e 64 |NTEGER;.|...bound| |00000610| 73 52 65 63 74 3a 20 52 | 65 63 74 3b 20 63 54 61 |sRect: R|ect; cTa| |00000620| 62 6c 65 3a 20 43 54 61 | 62 48 61 6e 64 6c 65 3b |ble: CTa|bHandle;| |00000630| 20 61 47 44 65 76 69 63 | 65 3a 20 47 44 48 61 6e | aGDevic|e: GDHan| |00000640| 64 6c 65 3b 0d 09 09 09 | 66 6c 61 67 73 3a 20 47 |dle;....|flags: G| |00000650| 57 6f 72 6c 64 46 6c 61 | 67 73 29 3a 20 51 44 45 |WorldFla|gs): QDE| |00000660| 72 72 3b 0d 09 49 4e 4c | 49 4e 45 20 24 37 30 30 |rr;..INL|INE $700| |00000670| 30 2c 24 41 42 31 44 3b | 0d 46 55 4e 43 54 49 4f |0,$AB1D;|.FUNCTIO| |00000680| 4e 20 4c 6f 63 6b 50 69 | 78 65 6c 73 20 28 70 6d |N LockPi|xels (pm| |00000690| 3a 20 50 69 78 4d 61 70 | 48 61 6e 64 6c 65 29 3a |: PixMap|Handle):| |000006a0| 20 42 6f 6f 6c 65 61 6e | 3b 0d 09 49 4e 4c 49 4e | Boolean|;..INLIN| |000006b0| 45 20 24 37 30 30 31 2c | 24 41 42 31 44 3b 0d 50 |E $7001,|$AB1D;.P| |000006c0| 52 4f 43 45 44 55 52 45 | 20 55 6e 6c 6f 63 6b 50 |ROCEDURE| UnlockP| |000006d0| 69 78 65 6c 73 20 28 70 | 6d 3a 20 50 69 78 4d 61 |ixels (p|m: PixMa| |000006e0| 70 48 61 6e 64 6c 65 29 | 3b 0d 09 49 4e 4c 49 4e |pHandle)|;..INLIN| |000006f0| 45 20 24 37 30 30 32 2c | 24 41 42 31 44 3b 0d 46 |E $7002,|$AB1D;.F| |00000700| 55 4e 43 54 49 4f 4e 20 | 55 70 64 61 74 65 47 57 |UNCTION |UpdateGW| |00000710| 6f 72 6c 64 20 28 56 41 | 52 20 6f 66 66 73 63 72 |orld (VA|R offscr| |00000720| 65 65 6e 47 57 6f 72 6c | 64 3a 20 47 57 6f 72 6c |eenGWorl|d: GWorl| |00000730| 64 50 74 72 3b 20 70 69 | 78 65 6c 44 65 70 74 68 |dPtr; pi|xelDepth| |00000740| 3a 20 49 4e 54 45 47 45 | 52 3b 20 0d 09 09 09 20 |: INTEGE|R; .... | |00000750| 20 62 6f 75 6e 64 73 52 | 65 63 74 3a 20 52 65 63 | boundsR|ect: Rec| |00000760| 74 3b 20 63 54 61 62 6c | 65 3a 20 43 54 61 62 48 |t; cTabl|e: CTabH| |00000770| 61 6e 64 6c 65 3b 20 61 | 47 44 65 76 69 63 65 3a |andle; a|GDevice:| |00000780| 20 47 44 48 61 6e 64 6c | 65 3b 0d 09 09 09 20 20 | GDHandl|e;.... | |00000790| 66 6c 61 67 73 3a 20 47 | 57 6f 72 6c 64 46 6c 61 |flags: G|WorldFla| |000007a0| 67 73 29 3a 20 47 57 6f | 72 6c 64 46 6c 61 67 73 |gs): GWo|rldFlags| |000007b0| 3b 0d 09 49 4e 4c 49 4e | 45 20 24 37 30 30 33 2c |;..INLIN|E $7003,| |000007c0| 24 41 42 31 44 3b 0d 50 | 52 4f 43 45 44 55 52 45 |$AB1D;.P|ROCEDURE| |000007d0| 20 44 69 73 70 6f 73 65 | 47 57 6f 72 6c 64 20 28 | Dispose|GWorld (| |000007e0| 6f 66 66 73 63 72 65 65 | 6e 47 57 6f 72 6c 64 3a |offscree|nGWorld:| |000007f0| 20 47 57 6f 72 6c 64 50 | 74 72 29 3b 0d 09 49 4e | GWorldP|tr);..IN| |00000800| 4c 49 4e 45 20 24 37 30 | 30 34 2c 24 41 42 31 44 |LINE $70|04,$AB1D| |00000810| 3b 0d 50 52 4f 43 45 44 | 55 52 45 20 47 65 74 47 |;.PROCED|URE GetG| |00000820| 57 6f 72 6c 64 20 28 56 | 41 52 20 70 6f 72 74 3a |World (V|AR port:| |00000830| 20 43 47 72 61 66 50 74 | 72 3b 20 56 41 52 20 67 | CGrafPt|r; VAR g| |00000840| 64 68 3a 20 47 44 48 61 | 6e 64 6c 65 29 3b 0d 09 |dh: GDHa|ndle);..| |00000850| 49 4e 4c 49 4e 45 20 24 | 37 30 30 35 2c 24 41 42 |INLINE $|7005,$AB| |00000860| 31 44 3b 0d 50 52 4f 43 | 45 44 55 52 45 20 53 65 |1D;.PROC|EDURE Se| |00000870| 74 47 57 6f 72 6c 64 20 | 28 70 6f 72 74 3a 20 43 |tGWorld |(port: C| |00000880| 47 72 61 66 50 74 72 3b | 20 67 64 68 3a 20 47 44 |GrafPtr;| gdh: GD| |00000890| 48 61 6e 64 6c 65 29 3b | 0d 09 49 4e 4c 49 4e 45 |Handle);|..INLINE| |000008a0| 20 24 37 30 30 36 2c 24 | 41 42 31 44 3b 0d 50 52 | $7006,$|AB1D;.PR| |000008b0| 4f 43 45 44 55 52 45 20 | 43 54 61 62 43 68 61 6e |OCEDURE |CTabChan| |000008c0| 67 65 64 20 28 63 74 61 | 62 3a 20 43 54 61 62 48 |ged (cta|b: CTabH| |000008d0| 61 6e 64 6c 65 29 3b 0d | 09 49 4e 4c 49 4e 45 20 |andle);.|.INLINE | |000008e0| 24 37 30 30 37 2c 24 41 | 42 31 44 3b 0d 50 52 4f |$7007,$A|B1D;.PRO| |000008f0| 43 45 44 55 52 45 20 50 | 69 78 50 61 74 43 68 61 |CEDURE P|ixPatCha| |00000900| 6e 67 65 64 20 28 70 70 | 61 74 3a 20 50 69 78 50 |nged (pp|at: PixP| |00000910| 61 74 48 61 6e 64 6c 65 | 29 3b 0d 09 49 4e 4c 49 |atHandle|);..INLI| |00000920| 4e 45 20 24 37 30 30 38 | 2c 24 41 42 31 44 3b 0d |NE $7008|,$AB1D;.| |00000930| 50 52 4f 43 45 44 55 52 | 45 20 50 6f 72 74 43 68 |PROCEDUR|E PortCh| |00000940| 61 6e 67 65 64 20 28 70 | 6f 72 74 3a 20 47 72 61 |anged (p|ort: Gra| |00000950| 66 50 74 72 29 3b 0d 09 | 49 4e 4c 49 4e 45 20 24 |fPtr);..|INLINE $| |00000960| 37 30 30 39 2c 24 41 42 | 31 44 3b 0d 50 52 4f 43 |7009,$AB|1D;.PROC| |00000970| 45 44 55 52 45 20 47 44 | 65 76 69 63 65 43 68 61 |EDURE GD|eviceCha| |00000980| 6e 67 65 64 20 28 67 64 | 68 3a 20 47 44 48 61 6e |nged (gd|h: GDHan| |00000990| 64 6c 65 29 3b 0d 09 49 | 4e 4c 49 4e 45 20 24 37 |dle);..I|NLINE $7| |000009a0| 30 30 41 2c 24 41 42 31 | 44 3b 0d 50 52 4f 43 45 |00A,$AB1|D;.PROCE| |000009b0| 44 55 52 45 20 41 6c 6c | 6f 77 50 75 72 67 65 50 |DURE All|owPurgeP| |000009c0| 69 78 65 6c 73 20 28 70 | 6d 3a 20 50 69 78 4d 61 |ixels (p|m: PixMa| |000009d0| 70 48 61 6e 64 6c 65 29 | 3b 0d 09 49 4e 4c 49 4e |pHandle)|;..INLIN| |000009e0| 45 20 24 37 30 30 42 2c | 24 41 42 31 44 3b 0d 50 |E $700B,|$AB1D;.P| |000009f0| 52 4f 43 45 44 55 52 45 | 20 4e 6f 50 75 72 67 65 |ROCEDURE| NoPurge| |00000a00| 50 69 78 65 6c 73 20 28 | 70 6d 3a 20 50 69 78 4d |Pixels (|pm: PixM| |00000a10| 61 70 48 61 6e 64 6c 65 | 29 3b 0d 09 49 4e 4c 49 |apHandle|);..INLI| |00000a20| 4e 45 20 24 37 30 30 43 | 2c 24 41 42 31 44 3b 0d |NE $700C|,$AB1D;.| |00000a30| 46 55 4e 43 54 49 4f 4e | 20 47 65 74 50 69 78 65 |FUNCTION| GetPixe| |00000a40| 6c 73 53 74 61 74 65 20 | 28 70 6d 3a 20 50 69 78 |lsState |(pm: Pix| |00000a50| 4d 61 70 48 61 6e 64 6c | 65 29 3a 20 47 57 6f 72 |MapHandl|e): GWor| |00000a60| 6c 64 46 6c 61 67 73 3b | 0d 09 49 4e 4c 49 4e 45 |ldFlags;|..INLINE| |00000a70| 20 24 37 30 30 44 2c 24 | 41 42 31 44 3b 0d 50 52 | $700D,$|AB1D;.PR| |00000a80| 4f 43 45 44 55 52 45 20 | 53 65 74 50 69 78 65 6c |OCEDURE |SetPixel| |00000a90| 73 53 74 61 74 65 20 28 | 70 6d 3a 20 50 69 78 4d |sState (|pm: PixM| |00000aa0| 61 70 48 61 6e 64 6c 65 | 3b 20 73 74 61 74 65 3a |apHandle|; state:| |00000ab0| 20 47 57 6f 72 6c 64 46 | 6c 61 67 73 29 3b 0d 09 | GWorldF|lags);..| |00000ac0| 49 4e 4c 49 4e 45 20 24 | 37 30 30 45 2c 24 41 42 |INLINE $|700E,$AB| |00000ad0| 31 44 3b 0d 46 55 4e 43 | 54 49 4f 4e 20 47 65 74 |1D;.FUNC|TION Get| |00000ae0| 50 69 78 42 61 73 65 41 | 64 64 72 20 28 70 6d 3a |PixBaseA|ddr (pm:| |00000af0| 20 50 69 78 4d 61 70 48 | 61 6e 64 6c 65 29 3a 20 | PixMapH|andle): | |00000b00| 50 74 72 3b 0d 09 49 4e | 4c 49 4e 45 20 24 37 30 |Ptr;..IN|LINE $70| |00000b10| 30 46 2c 24 41 42 31 44 | 3b 0d 46 55 4e 43 54 49 |0F,$AB1D|;.FUNCTI| |00000b20| 4f 4e 20 4e 65 77 53 63 | 72 65 65 6e 42 75 66 66 |ON NewSc|reenBuff| |00000b30| 65 72 20 28 67 6c 6f 62 | 61 6c 52 65 63 74 3a 20 |er (glob|alRect: | |00000b40| 52 65 63 74 3b 20 70 75 | 72 67 65 61 62 6c 65 3a |Rect; pu|rgeable:| |00000b50| 20 42 4f 4f 4c 45 41 4e | 3b 0d 09 09 20 20 20 20 | BOOLEAN|;... | |00000b60| 20 20 20 56 41 52 20 67 | 64 68 3a 20 47 44 48 61 | VAR g|dh: GDHa| |00000b70| 6e 64 6c 65 3b 20 56 41 | 52 20 6f 66 66 73 63 72 |ndle; VA|R offscr| |00000b80| 65 65 6e 50 69 78 4d 61 | 70 3a 20 50 69 78 4d 61 |eenPixMa|p: PixMa| |00000b90| 70 48 61 6e 64 6c 65 29 | 3a 20 51 44 45 72 72 3b |pHandle)|: QDErr;| |00000ba0| 0d 09 49 4e 4c 49 4e 45 | 20 24 37 30 31 30 2c 24 |..INLINE| $7010,$| |00000bb0| 41 42 31 44 3b 0d 50 52 | 4f 43 45 44 55 52 45 20 |AB1D;.PR|OCEDURE | |00000bc0| 44 69 73 70 6f 73 65 53 | 63 72 65 65 6e 42 75 66 |DisposeS|creenBuf| |00000bd0| 66 65 72 20 28 6f 66 66 | 73 63 72 65 65 6e 50 69 |fer (off|screenPi| |00000be0| 78 4d 61 70 3a 20 50 69 | 78 4d 61 70 48 61 6e 64 |xMap: Pi|xMapHand| |00000bf0| 6c 65 29 3b 0d 09 49 4e | 4c 49 4e 45 20 24 37 30 |le);..IN|LINE $70| |00000c00| 31 31 2c 24 41 42 31 44 | 3b 0d 46 55 4e 43 54 49 |11,$AB1D|;.FUNCTI| |00000c10| 4f 4e 20 47 65 74 47 57 | 6f 72 6c 64 44 65 76 69 |ON GetGW|orldDevi| |00000c20| 63 65 20 28 6f 66 66 73 | 63 72 65 65 6e 47 57 6f |ce (offs|creenGWo| |00000c30| 72 6c 64 3a 20 47 57 6f | 72 6c 64 50 74 72 29 3a |rld: GWo|rldPtr):| |00000c40| 20 47 44 48 61 6e 64 6c | 65 3b 0d 09 49 4e 4c 49 | GDHandl|e;..INLI| |00000c50| 4e 45 20 24 37 30 31 32 | 2c 24 41 42 31 44 3b 0d |NE $7012|,$AB1D;.| |00000c60| 0d 0d 7b 24 45 4e 44 43 | 7d 20 20 20 20 7b 20 55 |..{$ENDC|} { U| |00000c70| 73 69 6e 67 4f 66 66 73 | 63 72 65 65 6e 20 7d 0d |singOffs|creen }.| |00000c80| 0d 7b 24 49 46 43 20 4e | 4f 54 20 55 73 69 6e 67 |.{$IFC N|OT Using| |00000c90| 49 6e 63 6c 75 64 65 73 | 7d 0d 20 20 20 20 45 4e |Includes|}. EN| |00000ca0| 44 2e 0d 7b 24 45 4e 44 | 43 7d 0d 0d 2f 2a 2a 2a |D..{$END|C}../***| |00000cb0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********| |00000cc0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********| |00000cd0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********| |00000ce0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 0d 0d 43 72 65 61 74 |********|*..Creat| |00000cf0| 65 64 3a 20 54 68 75 72 | 73 64 61 79 2c 20 4d 61 |ed: Thur|sday, Ma| |00000d00| 72 63 68 20 32 33 2c 20 | 31 39 38 39 20 61 74 20 |rch 23, |1989 at | |00000d10| 37 3a 32 35 20 50 4d 20 | 0d 20 20 20 20 4f 66 66 |7:25 PM |. Off| |00000d20| 73 63 72 65 65 6e 2e 68 | 0d 20 20 20 20 43 20 49 |screen.h|. C I| |00000d30| 6e 74 65 72 66 61 63 65 | 20 74 6f 20 74 68 65 20 |nterface| to the | |00000d40| 4d 61 63 69 6e 74 6f 73 | 68 20 4c 69 62 72 61 72 |Macintos|h Librar| |00000d50| 69 65 73 0d 0d 0d 20 20 | 20 20 43 6f 70 79 72 69 |ies... | Copyri| |00000d60| 67 68 74 20 41 70 70 6c | 65 20 43 6f 6d 70 75 74 |ght Appl|e Comput| |00000d70| 65 72 2c 20 49 6e 63 2e | 20 20 31 39 38 35 2d 31 |er, Inc.| 1985-1| |00000d80| 39 38 39 0d 20 20 20 20 | 41 6c 6c 20 72 69 67 68 |989. |All righ| |00000d90| 74 73 20 72 65 73 65 72 | 76 65 64 0d 0d 2a 2a 2a |ts reser|ved..***| |00000da0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********| |00000db0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********| |00000dc0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********| |00000dd0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2f 0d 0d 0d 23 69 66 |********|*/...#if| |00000de0| 6e 64 65 66 20 5f 5f 4f | 46 46 53 43 52 45 45 4e |ndef __O|FFSCREEN| |00000df0| 5f 5f 0d 23 64 65 66 69 | 6e 65 20 5f 5f 4f 46 46 |__.#defi|ne __OFF| |00000e00| 53 43 52 45 45 4e 5f 5f | 0d 0d 23 69 66 6e 64 65 |SCREEN__|..#ifnde| |00000e10| 66 20 5f 5f 51 55 49 43 | 4b 44 52 41 57 5f 5f 0d |f __QUIC|KDRAW__.| |00000e20| 23 69 6e 63 6c 75 64 65 | 20 3c 51 75 69 63 6b 64 |#include| <Quickd| |00000e30| 72 61 77 2e 68 3e 0d 23 | 65 6e 64 69 66 0d 0d 2f |raw.h>.#|endif../| |00000e40| 2a 20 4e 65 77 20 65 72 | 72 6f 72 20 63 6f 64 65 |* New er|ror code| |00000e50| 73 20 2a 2f 0d 0d 23 64 | 65 66 69 6e 65 20 63 44 |s */..#d|efine cD| |00000e60| 65 70 74 68 45 72 72 20 | 2d 31 35 37 09 09 09 2f |epthErr |-157.../| |00000e70| 2a 20 69 6e 76 61 6c 69 | 64 20 70 69 78 65 6c 20 |* invali|d pixel | |00000e80| 64 65 70 74 68 20 2a 2f | 0d 0d 0d 2f 2a 20 46 6c |depth */|.../* Fl| |00000e90| 61 67 20 62 69 74 73 20 | 70 61 73 73 65 64 20 74 |ag bits |passed t| |00000ea0| 6f 20 6f 72 20 72 65 74 | 75 72 6e 65 64 20 62 79 |o or ret|urned by| |00000eb0| 20 4f 66 66 73 63 72 65 | 65 6e 20 72 6f 75 74 69 | Offscre|en routi| |00000ec0| 6e 65 73 20 2a 2f 0d 0d | 65 6e 75 6d 20 20 7b 0d |nes */..|enum {.| |00000ed0| 09 70 69 78 50 75 72 67 | 65 42 69 74 20 3d 20 30 |.pixPurg|eBit = 0| |00000ee0| 2c 0d 09 6e 6f 4e 65 77 | 44 65 76 69 63 65 42 69 |,..noNew|DeviceBi| |00000ef0| 74 20 3d 20 31 2c 0d 09 | 70 69 78 65 6c 73 50 75 |t = 1,..|pixelsPu| |00000f00| 72 67 65 61 62 6c 65 42 | 69 74 20 3d 20 36 2c 0d |rgeableB|it = 6,.| |00000f10| 09 70 69 78 65 6c 73 4c | 6f 63 6b 65 64 42 69 74 |.pixelsL|ockedBit| |00000f20| 20 3d 20 37 2c 0d 0d 09 | 6d 61 70 50 69 78 42 69 | = 7,...|mapPixBi| |00000f30| 74 20 3d 20 31 36 2c 09 | 09 09 2f 2a 20 73 65 74 |t = 16,.|../* set| |00000f40| 20 69 66 20 63 6f 6c 6f | 72 20 74 61 62 6c 65 20 | if colo|r table | |00000f50| 6d 61 70 70 69 6e 67 20 | 6f 63 63 75 72 72 65 64 |mapping |occurred| |00000f60| 20 2a 2f 0d 09 6e 65 77 | 44 65 70 74 68 42 69 74 | */..new|DepthBit| |00000f70| 20 3d 20 31 37 2c 09 09 | 09 2f 2a 20 73 65 74 20 | = 17,..|./* set | |00000f80| 69 66 20 70 69 78 65 6c | 73 20 77 65 72 65 20 73 |if pixel|s were s| |00000f90| 63 61 6c 65 64 20 74 6f | 20 61 20 64 69 66 66 65 |caled to| a diffe| |00000fa0| 72 65 6e 74 20 64 65 70 | 74 68 20 2a 2f 0d 09 61 |rent dep|th */..a| |00000fb0| 6c 69 67 6e 50 69 78 42 | 69 74 20 3d 20 31 38 2c |lignPixB|it = 18,| |00000fc0| 09 09 09 2f 2a 20 73 65 | 74 20 69 66 20 70 69 78 |.../* se|t if pix| |00000fd0| 65 6c 73 20 77 65 72 65 | 20 72 65 61 6c 69 67 6e |els were| realign| |00000fe0| 65 64 20 74 6f 20 73 63 | 72 65 65 6e 20 61 6c 69 |ed to sc|reen ali| |00000ff0| 67 6e 6d 65 6e 74 20 2a | 2f 0d 20 09 6e 65 77 52 |gnment *|/. .newR| |00001000| 6f 77 42 79 74 65 73 42 | 69 74 20 3d 20 31 39 2c |owBytesB|it = 19,| |00001010| 09 09 2f 2a 20 73 65 74 | 20 69 66 20 70 69 78 6d |../* set| if pixm| |00001020| 61 70 20 77 61 73 20 72 | 65 63 6f 6e 66 69 67 75 |ap was r|econfigu| |00001030| 72 65 64 20 69 6e 20 61 | 20 6e 65 77 20 72 6f 77 |red in a| new row| |00001040| 42 79 74 65 73 20 2a 2f | 0d 09 72 65 61 6c 6c 6f |Bytes */|..reallo| |00001050| 63 50 69 78 42 69 74 20 | 3d 20 32 30 2c 09 09 2f |cPixBit |= 20,../| |00001060| 2a 20 73 65 74 20 69 66 | 20 6f 66 66 73 63 72 65 |* set if| offscre| |00001070| 65 6e 20 62 75 66 66 65 | 72 20 68 61 64 20 74 6f |en buffe|r had to| |00001080| 20 62 65 20 72 65 61 6c | 6c 6f 63 61 74 65 64 20 | be real|located | |00001090| 2a 2f 0d 09 63 6c 69 70 | 50 69 78 42 69 74 20 3d |*/..clip|PixBit =| |000010a0| 20 32 38 2c 09 09 09 2f | 2a 20 73 65 74 20 69 66 | 28,.../|* set if| |000010b0| 20 70 69 78 65 6c 73 20 | 77 65 72 65 20 6f 72 20 | pixels |were or | |000010c0| 61 72 65 20 74 6f 20 62 | 65 20 63 6c 69 70 70 65 |are to b|e clippe| |000010d0| 64 20 2a 2f 0d 09 73 74 | 72 65 74 63 68 50 69 78 |d */..st|retchPix| |000010e0| 42 69 74 20 3d 20 32 39 | 2c 09 09 2f 2a 20 73 65 |Bit = 29|,../* se| |000010f0| 74 20 69 66 20 70 69 78 | 65 6c 73 20 77 65 72 65 |t if pix|els were| |00001100| 20 6f 72 20 61 72 65 20 | 74 6f 20 62 65 20 73 74 | or are |to be st| |00001110| 72 65 74 63 68 65 64 2f | 73 68 72 69 6e 6b 65 64 |retched/|shrinked| |00001120| 20 2a 2f 0d 09 64 69 74 | 68 65 72 50 69 78 42 69 | */..dit|herPixBi| |00001130| 74 20 3d 20 33 30 2c 0d | 09 67 77 46 6c 61 67 45 |t = 30,.|.gwFlagE| |00001140| 72 72 42 69 74 20 3d 20 | 33 31 0d 7d 3b 0d 0d 74 |rrBit = |31.};..t| |00001150| 79 70 65 64 65 66 20 65 | 6e 75 6d 20 7b 0d 09 70 |ypedef e|num {..p| |00001160| 69 78 50 75 72 67 65 20 | 3d 20 31 20 3c 3c 20 70 |ixPurge |= 1 << p| |00001170| 69 78 50 75 72 67 65 42 | 69 74 2c 0d 09 6e 6f 4e |ixPurgeB|it,..noN| |00001180| 65 77 44 65 76 69 63 65 | 20 3d 20 31 20 3c 3c 20 |ewDevice| = 1 << | |00001190| 6e 6f 4e 65 77 44 65 76 | 69 63 65 42 69 74 2c 0d |noNewDev|iceBit,.| |000011a0| 09 70 69 78 65 6c 73 50 | 75 72 67 65 61 62 6c 65 |.pixelsP|urgeable| |000011b0| 20 3d 20 31 20 3c 3c 20 | 70 69 78 65 6c 73 50 75 | = 1 << |pixelsPu| |000011c0| 72 67 65 61 62 6c 65 42 | 69 74 2c 0d 09 70 69 78 |rgeableB|it,..pix| |000011d0| 65 6c 73 4c 6f 63 6b 65 | 64 20 3d 20 31 20 3c 3c |elsLocke|d = 1 <<| |000011e0| 20 70 69 78 65 6c 73 4c | 6f 63 6b 65 64 42 69 74 | pixelsL|ockedBit| |000011f0| 2c 0d 09 6d 61 70 50 69 | 78 20 3d 20 31 20 3c 3c |,..mapPi|x = 1 <<| |00001200| 20 6d 61 70 50 69 78 42 | 69 74 2c 0d 09 6e 65 77 | mapPixB|it,..new| |00001210| 44 65 70 74 68 20 3d 20 | 31 20 3c 3c 20 6e 65 77 |Depth = |1 << new| |00001220| 44 65 70 74 68 42 69 74 | 2c 0d 09 61 6c 69 67 6e |DepthBit|,..align| |00001230| 50 69 78 20 3d 20 31 20 | 3c 3c 20 61 6c 69 67 6e |Pix = 1 |<< align| |00001240| 50 69 78 42 69 74 2c 0d | 09 6e 65 77 52 6f 77 42 |PixBit,.|.newRowB| |00001250| 79 74 65 73 20 3d 20 31 | 20 3c 3c 20 6e 65 77 52 |ytes = 1| << newR| |00001260| 6f 77 42 79 74 65 73 42 | 69 74 2c 0d 09 72 65 61 |owBytesB|it,..rea| |00001270| 6c 6c 6f 63 50 69 78 20 | 3d 20 31 20 3c 3c 20 72 |llocPix |= 1 << r| |00001280| 65 61 6c 6c 6f 63 50 69 | 78 42 69 74 2c 0d 09 63 |eallocPi|xBit,..c| |00001290| 6c 69 70 50 69 78 20 3d | 20 31 20 3c 3c 20 63 6c |lipPix =| 1 << cl| |000012a0| 69 70 50 69 78 42 69 74 | 2c 0d 09 73 74 72 65 74 |ipPixBit|,..stret| |000012b0| 63 68 50 69 78 20 3d 20 | 31 20 3c 3c 20 73 74 72 |chPix = |1 << str| |000012c0| 65 74 63 68 50 69 78 42 | 69 74 2c 0d 09 64 69 74 |etchPixB|it,..dit| |000012d0| 68 65 72 50 69 78 20 3d | 20 31 20 3c 3c 20 64 69 |herPix =| 1 << di| |000012e0| 74 68 65 72 50 69 78 42 | 69 74 2c 0d 09 67 77 46 |therPixB|it,..gwF| |000012f0| 6c 61 67 45 72 72 20 3d | 20 31 20 3c 3c 20 67 77 |lagErr =| 1 << gw| |00001300| 46 6c 61 67 45 72 72 42 | 69 74 0d 7d 47 57 6f 72 |FlagErrB|it.}GWor| |00001310| 6c 64 46 6c 61 67 3b 0d | 0d 74 79 70 65 64 65 66 |ldFlag;.|.typedef| |00001320| 20 6c 6f 6e 67 20 47 57 | 6f 72 6c 64 46 6c 61 67 | long GW|orldFlag| |00001330| 73 3b 0d 0d 2f 2a 20 54 | 79 70 65 20 64 65 66 69 |s;../* T|ype defi| |00001340| 6e 69 74 69 6f 6e 20 6f | 66 20 61 20 47 57 6f 72 |nition o|f a GWor| |00001350| 6c 64 50 74 72 20 2a 2f | 0d 0d 74 79 70 65 64 65 |ldPtr */|..typede| |00001360| 66 20 43 47 72 61 66 50 | 74 72 20 47 57 6f 72 6c |f CGrafP|tr GWorl| |00001370| 64 50 74 72 3b 0d 0d 0d | 23 69 66 64 65 66 20 5f |dPtr;...|#ifdef _| |00001380| 5f 73 61 66 65 5f 6c 69 | 6e 6b 0d 65 78 74 65 72 |_safe_li|nk.exter| |00001390| 6e 20 22 43 22 20 7b 0d | 23 65 6e 64 69 66 0d 70 |n "C" {.|#endif.p| |000013a0| 61 73 63 61 6c 20 51 44 | 45 72 72 20 4e 65 77 47 |ascal QD|Err NewG| |000013b0| 57 6f 72 6c 64 20 28 47 | 57 6f 72 6c 64 50 74 72 |World (G|WorldPtr| |000013c0| 20 2a 6f 66 66 73 63 72 | 65 65 6e 47 57 6f 72 6c | *offscr|eenGWorl| |000013d0| 64 2c 20 73 68 6f 72 74 | 20 70 69 78 65 6c 44 65 |d, short| pixelDe| |000013e0| 70 74 68 2c 0d 09 09 52 | 65 63 74 20 2a 62 6f 75 |pth,...R|ect *bou| |000013f0| 6e 64 73 52 65 63 74 2c | 20 43 54 61 62 48 61 6e |ndsRect,| CTabHan| |00001400| 64 6c 65 20 63 54 61 62 | 6c 65 2c 20 47 44 48 61 |dle cTab|le, GDHa| |00001410| 6e 64 6c 65 20 61 47 44 | 65 76 69 63 65 2c 20 47 |ndle aGD|evice, G| |00001420| 57 6f 72 6c 64 46 6c 61 | 67 73 20 66 6c 61 67 73 |WorldFla|gs flags| |00001430| 29 0d 09 3d 20 7b 30 78 | 37 30 30 30 2c 30 78 41 |)..= {0x|7000,0xA| |00001440| 42 31 44 7d 3b 0d 70 61 | 73 63 61 6c 20 42 6f 6f |B1D};.pa|scal Boo| |00001450| 6c 65 61 6e 20 4c 6f 63 | 6b 50 69 78 65 6c 73 20 |lean Loc|kPixels | |00001460| 28 50 69 78 4d 61 70 48 | 61 6e 64 6c 65 20 70 6d |(PixMapH|andle pm| |00001470| 29 0d 09 3d 20 7b 30 78 | 37 30 30 31 2c 30 78 41 |)..= {0x|7001,0xA| |00001480| 42 31 44 7d 3b 0d 70 61 | 73 63 61 6c 20 76 6f 69 |B1D};.pa|scal voi| |00001490| 64 20 55 6e 6c 6f 63 6b | 50 69 78 65 6c 73 20 28 |d Unlock|Pixels (| |000014a0| 50 69 78 4d 61 70 48 61 | 6e 64 6c 65 20 70 6d 29 |PixMapHa|ndle pm)| |000014b0| 0d 09 3d 20 7b 30 78 37 | 30 30 32 2c 30 78 41 42 |..= {0x7|002,0xAB| |000014c0| 31 44 7d 3b 0d 70 61 73 | 63 61 6c 20 47 57 6f 72 |1D};.pas|cal GWor| |000014d0| 6c 64 46 6c 61 67 73 20 | 55 70 64 61 74 65 47 57 |ldFlags |UpdateGW| |000014e0| 6f 72 6c 64 20 28 47 57 | 6f 72 6c 64 50 74 72 20 |orld (GW|orldPtr | |000014f0| 2a 6f 66 66 73 63 72 65 | 65 6e 47 57 6f 72 6c 64 |*offscre|enGWorld| |00001500| 2c 20 73 68 6f 72 74 20 | 70 69 78 65 6c 44 65 70 |, short |pixelDep| |00001510| 74 68 2c 0d 09 09 52 65 | 63 74 20 2a 62 6f 75 6e |th,...Re|ct *boun| |00001520| 64 73 52 65 63 74 2c 20 | 43 54 61 62 48 61 6e 64 |dsRect, |CTabHand| |00001530| 6c 65 20 63 54 61 62 6c | 65 2c 20 47 44 48 61 6e |le cTabl|e, GDHan| |00001540| 64 6c 65 20 61 47 44 65 | 76 69 63 65 2c 20 47 57 |dle aGDe|vice, GW| |00001550| 6f 72 6c 64 46 6c 61 67 | 73 20 66 6c 61 67 73 29 |orldFlag|s flags)| |00001560| 0d 09 3d 20 7b 30 78 37 | 30 30 33 2c 30 78 41 42 |..= {0x7|003,0xAB| |00001570| 31 44 7d 3b 0d 70 61 73 | 63 61 6c 20 76 6f 69 64 |1D};.pas|cal void| |00001580| 20 44 69 73 70 6f 73 65 | 47 57 6f 72 6c 64 20 28 | Dispose|GWorld (| |00001590| 47 57 6f 72 6c 64 50 74 | 72 20 6f 66 66 73 63 72 |GWorldPt|r offscr| |000015a0| 65 65 6e 47 57 6f 72 6c | 64 29 0d 09 3d 20 7b 30 |eenGWorl|d)..= {0| |000015b0| 78 37 30 30 34 2c 30 78 | 41 42 31 44 7d 3b 0d 70 |x7004,0x|AB1D};.p| |000015c0| 61 73 63 61 6c 20 76 6f | 69 64 20 47 65 74 47 57 |ascal vo|id GetGW| |000015d0| 6f 72 6c 64 20 28 43 47 | 72 61 66 50 74 72 20 2a |orld (CG|rafPtr *| |000015e0| 70 6f 72 74 2c 20 47 44 | 48 61 6e 64 6c 65 20 2a |port, GD|Handle *| |000015f0| 67 64 68 29 0d 09 3d 20 | 7b 30 78 37 30 30 35 2c |gdh)..= |{0x7005,| |00001600| 30 78 41 42 31 44 7d 3b | 0d 70 61 73 63 61 6c 20 |0xAB1D};|.pascal | |00001610| 76 6f 69 64 20 53 65 74 | 47 57 6f 72 6c 64 20 28 |void Set|GWorld (| |00001620| 43 47 72 61 66 50 74 72 | 20 70 6f 72 74 2c 20 47 |CGrafPtr| port, G| |00001630| 44 48 61 6e 64 6c 65 20 | 67 64 68 29 0d 09 3d 20 |DHandle |gdh)..= | |00001640| 7b 30 78 37 30 30 36 2c | 30 78 41 42 31 44 7d 3b |{0x7006,|0xAB1D};| |00001650| 0d 70 61 73 63 61 6c 20 | 76 6f 69 64 20 43 54 61 |.pascal |void CTa| |00001660| 62 43 68 61 6e 67 65 64 | 20 28 43 54 61 62 48 61 |bChanged| (CTabHa| |00001670| 6e 64 6c 65 20 63 74 61 | 62 29 0d 09 3d 20 7b 30 |ndle cta|b)..= {0| |00001680| 78 37 30 30 37 2c 30 78 | 41 42 31 44 7d 3b 0d 70 |x7007,0x|AB1D};.p| |00001690| 61 73 63 61 6c 20 76 6f | 69 64 20 50 69 78 50 61 |ascal vo|id PixPa| |000016a0| 74 43 68 61 6e 67 65 64 | 20 28 50 69 78 50 61 74 |tChanged| (PixPat| |000016b0| 48 61 6e 64 6c 65 20 70 | 70 61 74 29 0d 09 3d 20 |Handle p|pat)..= | |000016c0| 7b 30 78 37 30 30 38 2c | 30 78 41 42 31 44 7d 3b |{0x7008,|0xAB1D};| |000016d0| 0d 70 61 73 63 61 6c 20 | 76 6f 69 64 20 50 6f 72 |.pascal |void Por| |000016e0| 74 43 68 61 6e 67 65 64 | 20 28 47 72 61 66 50 74 |tChanged| (GrafPt| |000016f0| 72 20 70 6f 72 74 29 0d | 09 3d 20 7b 30 78 37 30 |r port).|.= {0x70| |00001700| 30 39 2c 30 78 41 42 31 | 44 7d 3b 0d 70 61 73 63 |09,0xAB1|D};.pasc| |00001710| 61 6c 20 76 6f 69 64 20 | 47 44 65 76 69 63 65 43 |al void |GDeviceC| |00001720| 68 61 6e 67 65 64 20 28 | 47 44 48 61 6e 64 6c 65 |hanged (|GDHandle| |00001730| 20 67 64 68 29 0d 09 3d | 20 7b 30 78 37 30 30 41 | gdh)..=| {0x700A| |00001740| 2c 30 78 41 42 31 44 7d | 3b 0d 70 61 73 63 61 6c |,0xAB1D}|;.pascal| |00001750| 20 76 6f 69 64 20 41 6c | 6c 6f 77 50 75 72 67 65 | void Al|lowPurge| |00001760| 50 69 78 65 6c 73 20 28 | 50 69 78 4d 61 70 48 61 |Pixels (|PixMapHa| |00001770| 6e 64 6c 65 20 70 6d 29 | 0d 09 3d 20 7b 30 78 37 |ndle pm)|..= {0x7| |00001780| 30 30 42 2c 30 78 41 42 | 31 44 7d 3b 0d 70 61 73 |00B,0xAB|1D};.pas| |00001790| 63 61 6c 20 76 6f 69 64 | 20 4e 6f 50 75 72 67 65 |cal void| NoPurge| |000017a0| 50 69 78 65 6c 73 20 28 | 50 69 78 4d 61 70 48 61 |Pixels (|PixMapHa| |000017b0| 6e 64 6c 65 20 70 6d 29 | 0d 09 3d 20 7b 30 78 37 |ndle pm)|..= {0x7| |000017c0| 30 30 43 2c 30 78 41 42 | 31 44 7d 3b 0d 70 61 73 |00C,0xAB|1D};.pas| |000017d0| 63 61 6c 20 47 57 6f 72 | 6c 64 46 6c 61 67 73 20 |cal GWor|ldFlags | |000017e0| 47 65 74 50 69 78 65 6c | 73 53 74 61 74 65 20 28 |GetPixel|sState (| |000017f0| 50 69 78 4d 61 70 48 61 | 6e 64 6c 65 20 70 6d 29 |PixMapHa|ndle pm)| |00001800| 0d 09 3d 20 7b 30 78 37 | 30 30 44 2c 30 78 41 42 |..= {0x7|00D,0xAB| |00001810| 31 44 7d 3b 0d 70 61 73 | 63 61 6c 20 76 6f 69 64 |1D};.pas|cal void| |00001820| 20 53 65 74 50 69 78 65 | 6c 73 53 74 61 74 65 20 | SetPixe|lsState | |00001830| 28 50 69 78 4d 61 70 48 | 61 6e 64 6c 65 20 70 6d |(PixMapH|andle pm| |00001840| 2c 20 47 57 6f 72 6c 64 | 46 6c 61 67 73 20 73 74 |, GWorld|Flags st| |00001850| 61 74 65 29 0d 09 3d 20 | 7b 30 78 37 30 30 45 2c |ate)..= |{0x700E,| |00001860| 30 78 41 42 31 44 7d 3b | 0d 70 61 73 63 61 6c 20 |0xAB1D};|.pascal | |00001870| 50 74 72 20 47 65 74 50 | 69 78 42 61 73 65 41 64 |Ptr GetP|ixBaseAd| |00001880| 64 72 20 28 50 69 78 4d | 61 70 48 61 6e 64 6c 65 |dr (PixM|apHandle| |00001890| 20 70 6d 29 0d 09 3d 20 | 7b 30 78 37 30 30 46 2c | pm)..= |{0x700F,| |000018a0| 30 78 41 42 31 44 7d 3b | 0d 70 61 73 63 61 6c 20 |0xAB1D};|.pascal | |000018b0| 51 44 45 72 72 20 4e 65 | 77 53 63 72 65 65 6e 42 |QDErr Ne|wScreenB| |000018c0| 75 66 66 65 72 20 28 52 | 65 63 74 20 2a 67 6c 6f |uffer (R|ect *glo| |000018d0| 62 61 6c 52 65 63 74 2c | 20 42 6f 6f 6c 65 61 6e |balRect,| Boolean| |000018e0| 20 70 75 72 67 65 61 62 | 6c 65 2c 20 47 44 48 61 | purgeab|le, GDHa| |000018f0| 6e 64 6c 65 20 2a 67 64 | 68 2c 0d 09 09 50 69 78 |ndle *gd|h,...Pix| |00001900| 4d 61 70 48 61 6e 64 6c | 65 20 2a 6f 66 66 73 63 |MapHandl|e *offsc| |00001910| 72 65 65 6e 50 69 78 4d | 61 70 29 0d 09 3d 20 7b |reenPixM|ap)..= {| |00001920| 30 78 37 30 31 30 2c 30 | 78 41 42 31 44 7d 3b 0d |0x7010,0|xAB1D};.| |00001930| 70 61 73 63 61 6c 20 76 | 6f 69 64 20 44 69 73 70 |pascal v|oid Disp| |00001940| 6f 73 65 53 63 72 65 65 | 6e 42 75 66 66 65 72 20 |oseScree|nBuffer | |00001950| 28 50 69 78 4d 61 70 48 | 61 6e 64 6c 65 20 6f 66 |(PixMapH|andle of| |00001960| 66 73 63 72 65 65 6e 50 | 69 78 4d 61 70 29 0d 09 |fscreenP|ixMap)..| |00001970| 3d 20 7b 30 78 37 30 31 | 31 2c 30 78 41 42 31 44 |= {0x701|1,0xAB1D| |00001980| 7d 3b 0d 70 61 73 63 61 | 6c 20 47 44 48 61 6e 64 |};.pasca|l GDHand| |00001990| 6c 65 20 47 65 74 47 57 | 6f 72 6c 64 44 65 76 69 |le GetGW|orldDevi| |000019a0| 63 65 20 28 47 57 6f 72 | 6c 64 50 74 72 20 6f 66 |ce (GWor|ldPtr of| |000019b0| 66 73 63 72 65 65 6e 47 | 57 6f 72 6c 64 29 0d 09 |fscreenG|World)..| |000019c0| 3d 20 7b 30 78 37 30 31 | 32 2c 30 78 41 42 31 44 |= {0x701|2,0xAB1D| |000019d0| 7d 3b 0d 23 69 66 64 65 | 66 20 5f 5f 73 61 66 65 |};.#ifde|f __safe| |000019e0| 5f 6c 69 6e 6b 0d 7d 0d | 23 65 6e 64 69 66 0d 23 |_link.}.|#endif.#| |000019f0| 65 6e 64 69 66 0d 0d 3b | 20 3b 3b 3b 3b 3b 3b 3b |endif..;| ;;;;;;;| |00001a00| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00001a10| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00001a20| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00001a30| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00001a40| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00001a50| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00001a60| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00001a70| 3b 3b 3b 0d 3b 20 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;.; ;;|;;;;;;;;| |00001a80| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00001a90| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00001aa0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00001ab0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00001ac0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00001ad0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00001ae0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00001af0| 0d 3b 20 43 72 65 61 74 | 65 64 3a 20 46 72 69 64 |.; Creat|ed: Frid| |00001b00| 61 79 2c 20 4d 61 72 63 | 68 20 32 34 20 61 74 20 |ay, Marc|h 24 at | |00001b10| 31 30 3a 35 37 20 41 4d | 0d 3b 0d 3b 20 46 69 6c |10:57 AM|.;.; Fil| |00001b20| 65 3a 20 4f 66 66 73 63 | 72 65 65 6e 54 72 61 70 |e: Offsc|reenTrap| |00001b30| 73 2e 61 0d 3b 0d 3b 20 | 41 73 73 65 6d 62 6c 65 |s.a.;.; |Assemble| |00001b40| 72 20 49 6e 74 65 72 66 | 61 63 65 20 74 6f 20 74 |r Interf|ace to t| |00001b50| 68 65 20 4d 61 63 69 6e | 74 6f 73 68 20 4c 69 62 |he Macin|tosh Lib| |00001b60| 72 61 72 69 65 73 0d 3b | 20 43 6f 70 79 72 69 67 |raries.;| Copyrig| |00001b70| 68 74 20 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |ht Apple| Compute| |00001b80| 72 2c 20 49 6e 63 2e 20 | 31 39 38 34 2d 31 39 38 |r, Inc. |1984-198| |00001b90| 39 0d 3b 20 41 6c 6c 20 | 52 69 67 68 74 73 20 52 |9.; All |Rights R| |00001ba0| 65 73 65 72 76 65 64 0d | 3b 0d 3b 5f 5f 5f 5f 5f |eserved.|;.;_____| |00001bb0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00001bc0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00001bd0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00001be0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00001bf0| 5f 5f 5f 5f 5f 5f 0d 3b | 0d 3b 20 4f 66 66 73 63 |______.;|.; Offsc| |00001c00| 72 65 65 6e 20 45 71 75 | 61 74 65 73 20 2d 2d 20 |reen Equ|ates -- | |00001c10| 54 68 69 73 20 66 69 6c | 65 20 64 65 66 69 6e 65 |This fil|e define| |00001c20| 73 20 74 68 65 20 65 71 | 75 61 74 65 73 20 66 6f |s the eq|uates fo| |00001c30| 72 20 4f 66 66 73 63 72 | 65 65 6e 0d 3b 20 72 6f |r Offscr|een.; ro| |00001c40| 75 74 69 6e 65 73 2e 0d | 3b 5f 5f 5f 5f 5f 5f 5f |utines..|;_______| |00001c50| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00001c60| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00001c70| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00001c80| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00001c90| 5f 5f 5f 5f 0d 0d 0d 0d | 3b 20 4e 65 77 20 45 72 |____....|; New Er| |00001ca0| 72 6f 72 20 63 6f 64 65 | 73 0d 0d 63 44 65 70 74 |ror code|s..cDept| |00001cb0| 68 45 72 72 09 65 71 75 | 09 2d 31 35 37 09 3b 20 |hErr.equ|.-157.; | |00001cc0| 69 6e 76 61 6c 69 64 20 | 70 69 78 65 6c 20 64 65 |invalid |pixel de| |00001cd0| 70 74 68 20 0d 0d 0d 3b | 20 46 6c 61 67 20 62 69 |pth ...;| Flag bi| |00001ce0| 74 73 20 70 61 73 73 65 | 64 20 74 6f 20 6f 72 20 |ts passe|d to or | |00001cf0| 72 65 74 75 72 6e 65 64 | 20 62 79 20 55 70 64 61 |returned| by Upda| |00001d00| 74 65 47 57 6f 72 6c 64 | 0d 0d 70 75 72 67 65 50 |teGWorld|..purgeP| |00001d10| 69 78 42 69 74 09 65 71 | 75 09 30 09 3b 20 6d 61 |ixBit.eq|u.0.; ma| |00001d20| 6b 65 20 74 68 65 20 6f | 66 66 73 63 72 65 65 6e |ke the o|ffscreen| |00001d30| 20 62 75 66 66 65 72 20 | 70 75 72 67 65 61 62 6c | buffer |purgeabl| |00001d40| 65 0d 6e 6f 4e 65 77 44 | 65 76 69 63 65 42 69 74 |e.noNewD|eviceBit| |00001d50| 09 65 71 75 09 31 09 3b | 20 64 6f 6e 27 74 20 63 |.equ.1.;| don't c| |00001d60| 72 65 61 74 65 20 61 6e | 20 6f 66 66 73 63 72 65 |reate an| offscre| |00001d70| 65 6e 20 64 65 76 69 63 | 65 0d 70 69 78 65 6c 73 |en devic|e.pixels| |00001d80| 50 75 72 67 65 61 62 6c | 65 42 69 74 20 65 71 75 |Purgeabl|eBit equ| |00001d90| 09 36 09 3b 20 70 69 78 | 65 6c 73 20 61 72 65 20 |.6.; pix|els are | |00001da0| 70 75 72 65 61 62 6c 65 | 0d 70 69 78 65 6c 73 4c |pureable|.pixelsL| |00001db0| 6f 63 6b 65 64 42 69 74 | 09 65 71 75 09 37 09 3b |ockedBit|.equ.7.;| |00001dc0| 20 70 69 78 65 6c 73 20 | 61 72 65 20 6c 6f 63 6b | pixels |are lock| |00001dd0| 65 64 0d 6d 61 70 50 69 | 78 42 69 74 09 65 71 75 |ed.mapPi|xBit.equ| |00001de0| 09 31 36 09 3b 20 73 65 | 74 20 69 66 20 63 6f 6c |.16.; se|t if col| |00001df0| 6f 72 20 74 61 62 6c 65 | 20 6d 61 70 70 69 6e 67 |or table| mapping| |00001e00| 20 6f 63 63 75 72 72 65 | 64 0d 6e 65 77 44 65 70 | occurre|d.newDep| |00001e10| 74 68 42 69 74 09 65 71 | 75 09 31 37 09 3b 20 73 |thBit.eq|u.17.; s| |00001e20| 65 74 20 69 66 20 70 69 | 78 65 6c 73 20 77 65 72 |et if pi|xels wer| |00001e30| 65 20 73 63 61 6c 65 64 | 20 74 6f 20 61 20 64 69 |e scaled| to a di| |00001e40| 66 66 65 72 65 6e 74 20 | 64 65 70 74 68 0d 61 6c |fferent |depth.al| |00001e50| 69 67 6e 50 69 78 42 69 | 74 09 65 71 75 09 31 38 |ignPixBi|t.equ.18| |00001e60| 09 3b 20 73 65 74 20 69 | 66 20 70 69 78 65 6c 73 |.; set i|f pixels| |00001e70| 20 77 65 72 65 20 72 65 | 61 6c 69 67 6e 65 64 20 | were re|aligned | |00001e80| 74 6f 20 73 63 72 65 65 | 6e 20 61 6c 69 67 6e 6d |to scree|n alignm| |00001e90| 65 6e 74 0d 6e 65 77 52 | 6f 77 42 79 74 65 73 42 |ent.newR|owBytesB| |00001ea0| 69 74 09 65 71 75 09 31 | 39 09 3b 20 73 65 74 20 |it.equ.1|9.; set | |00001eb0| 69 66 20 70 69 78 6d 61 | 70 20 77 61 73 20 72 65 |if pixma|p was re| |00001ec0| 63 6f 6e 66 69 67 75 72 | 65 64 20 69 6e 20 61 20 |configur|ed in a | |00001ed0| 6e 65 77 20 72 6f 77 42 | 79 74 65 73 0d 72 65 61 |new rowB|ytes.rea| |00001ee0| 6c 6c 6f 63 50 69 78 42 | 69 74 09 65 71 75 09 32 |llocPixB|it.equ.2| |00001ef0| 30 09 3b 20 73 65 74 20 | 69 66 20 6f 66 66 73 63 |0.; set |if offsc| |00001f00| 72 65 65 6e 20 62 75 66 | 66 65 72 20 68 61 64 20 |reen buf|fer had | |00001f10| 74 6f 20 62 65 20 72 65 | 61 6c 6c 6f 63 61 74 65 |to be re|allocate| |00001f20| 64 0d 63 6c 69 70 50 69 | 78 42 69 74 09 65 71 75 |d.clipPi|xBit.equ| |00001f30| 09 32 38 09 3b 20 73 65 | 74 20 69 66 20 70 69 78 |.28.; se|t if pix| |00001f40| 65 6c 73 20 77 65 72 65 | 20 6f 72 20 61 72 65 20 |els were| or are | |00001f50| 74 6f 20 62 65 20 63 6c | 69 70 70 65 64 0d 73 74 |to be cl|ipped.st| |00001f60| 72 65 74 63 68 50 69 78 | 42 69 74 09 65 71 75 09 |retchPix|Bit.equ.| |00001f70| 32 39 09 3b 20 73 65 74 | 20 69 66 20 70 69 78 65 |29.; set| if pixe| |00001f80| 6c 73 20 77 65 72 65 20 | 6f 72 20 61 72 65 20 74 |ls were |or are t| |00001f90| 6f 20 62 65 20 73 74 72 | 65 74 63 68 65 64 2f 73 |o be str|etched/s| |00001fa0| 68 72 69 6e 6b 65 64 0d | 64 69 74 68 65 72 50 69 |hrinked.|ditherPi| |00001fb0| 78 42 69 74 09 65 71 75 | 09 33 30 09 3b 20 73 65 |xBit.equ|.30.; se| |00001fc0| 74 20 69 66 20 70 69 78 | 65 6c 73 20 77 65 72 65 |t if pix|els were| |00001fd0| 20 6f 72 20 61 72 65 20 | 74 6f 20 62 65 20 64 69 | or are |to be di| |00001fe0| 74 68 65 72 65 64 0d 67 | 77 46 6c 61 67 45 72 72 |thered.g|wFlagErr| |00001ff0| 42 69 74 09 65 71 75 20 | 09 33 31 09 3b 20 73 69 |Bit.equ |.31.; si| |00002000| 67 6e 20 62 69 74 20 73 | 65 74 20 69 6e 64 69 63 |gn bit s|et indic| |00002010| 61 74 65 73 20 65 72 72 | 6f 72 0d 0d 3b 20 4d 61 |ates err|or..; Ma| |00002020| 73 6b 20 65 71 75 69 76 | 61 6c 65 6e 74 73 20 6f |sk equiv|alents o| |00002030| 66 20 74 68 65 20 61 62 | 6f 76 65 20 62 69 74 73 |f the ab|ove bits| |00002040| 20 0d 0d 70 75 72 67 65 | 50 69 78 09 65 71 75 09 | ..purge|Pix.equ.| |00002050| 24 31 0d 6e 6f 4e 65 77 | 44 65 76 69 63 65 09 65 |$1.noNew|Device.e| |00002060| 71 75 09 24 32 0d 70 69 | 78 65 6c 73 50 75 72 67 |qu.$2.pi|xelsPurg| |00002070| 65 61 62 6c 65 20 09 65 | 71 75 09 24 34 30 0d 70 |eable .e|qu.$40.p| |00002080| 69 78 65 6c 73 4c 6f 63 | 6b 65 64 09 65 71 75 09 |ixelsLoc|ked.equ.| |00002090| 24 38 30 0d 6d 61 70 50 | 69 78 09 09 65 71 75 09 |$80.mapP|ix..equ.| |000020a0| 24 31 30 30 30 30 0d 6e | 65 77 44 65 70 74 68 09 |$10000.n|ewDepth.| |000020b0| 65 71 75 09 24 32 30 30 | 30 30 0d 61 6c 69 67 6e |equ.$200|00.align| |000020c0| 50 69 78 09 09 65 71 75 | 09 24 34 30 30 30 30 0d |Pix..equ|.$40000.| |000020d0| 6e 65 77 52 6f 77 42 79 | 74 65 73 09 65 71 75 09 |newRowBy|tes.equ.| |000020e0| 24 38 30 30 30 30 0d 72 | 65 61 6c 6c 6f 63 50 69 |$80000.r|eallocPi| |000020f0| 78 09 65 71 75 09 24 31 | 30 30 30 30 30 0d 63 6c |x.equ.$1|00000.cl| |00002100| 69 70 50 69 78 09 09 65 | 71 75 09 24 31 30 30 30 |ipPix..e|qu.$1000| |00002110| 30 30 30 30 0d 73 74 72 | 65 74 63 68 50 69 78 09 |0000.str|etchPix.| |00002120| 65 71 75 09 24 32 30 30 | 30 30 30 30 30 0d 64 69 |equ.$200|00000.di| |00002130| 74 68 65 72 50 69 78 09 | 65 71 75 09 24 34 30 30 |therPix.|equ.$400| |00002140| 30 30 30 30 30 0d 67 77 | 46 6c 61 67 45 72 72 20 |00000.gw|FlagErr | |00002150| 09 65 71 75 20 09 24 38 | 30 30 30 30 30 30 30 09 |.equ .$8|0000000.| |00002160| 0d 0d 0d 3b 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |...;____|________| |00002170| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00002180| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00002190| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |000021a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 0d |________|_______.| |000021b0| 3b 0d 3b 20 4f 66 66 73 | 63 72 65 65 6e 20 45 71 |;.; Offs|creen Eq| |000021c0| 75 61 74 65 73 20 2d 2d | 20 54 68 69 73 20 64 65 |uates --| This de| |000021d0| 66 69 6e 65 73 20 74 68 | 65 20 6d 61 63 72 6f 73 |fines th|e macros| |000021e0| 20 66 6f 72 20 74 68 65 | 20 4f 66 66 73 63 72 65 | for the| Offscre| |000021f0| 65 6e 0d 3b 20 54 72 61 | 70 73 2e 0d 3b 5f 5f 5f |en.; Tra|ps..;___| |00002200| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00002210| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00002220| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00002230| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00002240| 5f 5f 5f 5f 5f 5f 5f 5f | 0d 0d 3b 20 41 6c 6c 20 |________|..; All | |00002250| 4f 66 66 73 63 72 65 65 | 6e 20 52 6f 75 74 69 6e |Offscree|n Routin| |00002260| 65 73 20 67 6f 20 74 68 | 72 6f 75 67 68 20 6f 6e |es go th|rough on| |00002270| 65 20 74 72 61 70 20 77 | 69 74 68 20 61 20 73 65 |e trap w|ith a se| |00002280| 6c 65 63 74 6f 72 0d 0d | 5f 4f 66 66 73 63 72 65 |lector..|_Offscre| |00002290| 65 6e 09 4f 50 57 4f 52 | 44 09 24 41 42 31 44 0d |en.OPWOR|D.$AB1D.| |000022a0| 0d 09 09 4d 41 43 52 4f | 0d 09 09 5f 4e 65 77 47 |...MACRO|..._NewG| |000022b0| 57 6f 72 6c 64 0d 09 09 | 4d 4f 56 45 51 09 23 30 |World...|MOVEQ.#0| |000022c0| 2c 44 30 0d 09 09 5f 4f | 66 66 73 63 72 65 65 6e |,D0..._O|ffscreen| |000022d0| 0d 09 09 45 4e 44 4d 0d | 09 09 0d 09 09 4d 41 43 |...ENDM.|.....MAC| |000022e0| 52 4f 0d 09 09 5f 4c 6f | 63 6b 50 69 78 65 6c 73 |RO..._Lo|ckPixels| |000022f0| 0d 09 09 4d 4f 56 45 51 | 09 23 31 2c 44 30 0d 09 |...MOVEQ|.#1,D0..| |00002300| 09 5f 4f 66 66 73 63 72 | 65 65 6e 0d 09 09 45 4e |._Offscr|een...EN| |00002310| 44 4d 0d 09 09 0d 09 09 | 4d 41 43 52 4f 0d 09 09 |DM......|MACRO...| |00002320| 5f 55 6e 6c 6f 63 6b 50 | 69 78 65 6c 73 0d 09 09 |_UnlockP|ixels...| |00002330| 4d 4f 56 45 51 09 23 32 | 2c 44 30 0d 09 09 5f 4f |MOVEQ.#2|,D0..._O| |00002340| 66 66 73 63 72 65 65 6e | 0d 09 09 45 4e 44 4d 0d |ffscreen|...ENDM.| |00002350| 09 09 0d 09 09 4d 41 43 | 52 4f 0d 09 09 5f 55 70 |.....MAC|RO..._Up| |00002360| 64 61 74 65 47 57 6f 72 | 6c 64 0d 09 09 4d 4f 56 |dateGWor|ld...MOV| |00002370| 45 51 09 23 33 2c 44 30 | 0d 09 09 5f 4f 66 66 73 |EQ.#3,D0|..._Offs| |00002380| 63 72 65 65 6e 0d 09 09 | 45 4e 44 4d 0d 09 09 0d |creen...|ENDM....| |00002390| 09 09 4d 41 43 52 4f 0d | 09 09 5f 44 69 73 70 6f |..MACRO.|.._Dispo| |000023a0| 73 65 47 57 6f 72 6c 64 | 0d 09 09 4d 4f 56 45 51 |seGWorld|...MOVEQ| |000023b0| 09 23 34 2c 44 30 0d 09 | 09 5f 4f 66 66 73 63 72 |.#4,D0..|._Offscr| |000023c0| 65 65 6e 0d 09 09 45 4e | 44 4d 0d 09 09 0d 09 09 |een...EN|DM......| |000023d0| 4d 41 43 52 4f 0d 09 09 | 5f 47 65 74 47 57 6f 72 |MACRO...|_GetGWor| |000023e0| 6c 64 0d 09 09 4d 4f 56 | 45 51 09 23 35 2c 44 30 |ld...MOV|EQ.#5,D0| |000023f0| 0d 09 09 5f 4f 66 66 73 | 63 72 65 65 6e 0d 09 09 |..._Offs|creen...| |00002400| 45 4e 44 4d 0d 09 09 0d | 09 09 4d 41 43 52 4f 0d |ENDM....|..MACRO.| |00002410| 09 09 5f 53 65 74 47 57 | 6f 72 6c 64 0d 09 09 4d |.._SetGW|orld...M| |00002420| 4f 56 45 51 09 23 36 2c | 44 30 0d 09 09 5f 4f 66 |OVEQ.#6,|D0..._Of| |00002430| 66 73 63 72 65 65 6e 0d | 09 09 45 4e 44 4d 0d 09 |fscreen.|..ENDM..| |00002440| 09 0d 09 09 4d 41 43 52 | 4f 0d 09 09 5f 43 54 61 |....MACR|O..._CTa| |00002450| 62 43 68 61 6e 67 65 64 | 0d 09 09 4d 4f 56 45 51 |bChanged|...MOVEQ| |00002460| 09 23 37 2c 44 30 0d 09 | 09 5f 4f 66 66 73 63 72 |.#7,D0..|._Offscr| |00002470| 65 65 6e 0d 09 09 45 4e | 44 4d 0d 09 09 0d 09 09 |een...EN|DM......| |00002480| 4d 41 43 52 4f 0d 09 09 | 5f 50 69 78 50 61 74 43 |MACRO...|_PixPatC| |00002490| 68 61 6e 67 65 64 0d 09 | 09 4d 4f 56 45 51 09 23 |hanged..|.MOVEQ.#| |000024a0| 38 2c 44 30 0d 09 09 5f | 4f 66 66 73 63 72 65 65 |8,D0..._|Offscree| |000024b0| 6e 0d 09 09 45 4e 44 4d | 0d 09 09 0d 09 09 4d 41 |n...ENDM|......MA| |000024c0| 43 52 4f 0d 09 09 5f 50 | 6f 72 74 43 68 61 6e 67 |CRO..._P|ortChang| |000024d0| 65 64 0d 09 09 4d 4f 56 | 45 51 09 23 39 2c 44 30 |ed...MOV|EQ.#9,D0| |000024e0| 0d 09 09 5f 4f 66 66 73 | 63 72 65 65 6e 0d 09 09 |..._Offs|creen...| |000024f0| 45 4e 44 4d 0d 09 09 0d | 09 09 4d 41 43 52 4f 0d |ENDM....|..MACRO.| |00002500| 09 09 5f 47 44 65 76 69 | 63 65 43 68 61 6e 67 65 |.._GDevi|ceChange| |00002510| 64 0d 09 09 4d 4f 56 45 | 51 09 23 31 30 2c 44 30 |d...MOVE|Q.#10,D0| |00002520| 0d 09 09 5f 4f 66 66 73 | 63 72 65 65 6e 0d 09 09 |..._Offs|creen...| |00002530| 45 4e 44 4d 0d 0d 09 09 | 4d 41 43 52 4f 0d 09 09 |ENDM....|MACRO...| |00002540| 5f 41 6c 6c 6f 77 50 75 | 72 67 65 50 69 78 65 6c |_AllowPu|rgePixel| |00002550| 73 0d 09 09 4d 4f 56 45 | 51 09 23 31 31 2c 44 30 |s...MOVE|Q.#11,D0| |00002560| 0d 09 09 5f 4f 66 66 73 | 63 72 65 65 6e 0d 09 09 |..._Offs|creen...| |00002570| 45 4e 44 4d 0d 09 09 0d | 09 09 4d 41 43 52 4f 0d |ENDM....|..MACRO.| |00002580| 09 09 5f 4e 6f 50 75 72 | 67 65 50 69 78 65 6c 73 |.._NoPur|gePixels| |00002590| 0d 09 09 4d 4f 56 45 51 | 09 23 31 32 2c 44 30 0d |...MOVEQ|.#12,D0.| |000025a0| 09 09 5f 4f 66 66 73 63 | 72 65 65 6e 0d 09 09 45 |.._Offsc|reen...E| |000025b0| 4e 44 4d 0d 09 09 0d 09 | 09 4d 41 43 52 4f 0d 09 |NDM.....|.MACRO..| |000025c0| 09 5f 47 65 74 50 69 78 | 65 6c 73 53 74 61 74 65 |._GetPix|elsState| |000025d0| 0d 09 09 4d 4f 56 45 51 | 09 23 31 33 2c 44 30 0d |...MOVEQ|.#13,D0.| |000025e0| 09 09 5f 4f 66 66 73 63 | 72 65 65 6e 0d 09 09 45 |.._Offsc|reen...E| |000025f0| 4e 44 4d 0d 09 09 0d 09 | 09 4d 41 43 52 4f 0d 09 |NDM.....|.MACRO..| |00002600| 09 5f 53 65 74 50 69 78 | 65 6c 73 53 74 61 74 65 |._SetPix|elsState| |00002610| 0d 09 09 4d 4f 56 45 51 | 09 23 31 34 2c 44 30 0d |...MOVEQ|.#14,D0.| |00002620| 09 09 5f 4f 66 66 73 63 | 72 65 65 6e 0d 09 09 45 |.._Offsc|reen...E| |00002630| 4e 44 4d 0d 09 09 0d 09 | 09 4d 41 43 52 4f 0d 09 |NDM.....|.MACRO..| |00002640| 09 5f 47 65 74 50 69 78 | 42 61 73 65 41 64 64 72 |._GetPix|BaseAddr| |00002650| 0d 09 09 4d 4f 56 45 51 | 09 23 31 35 2c 44 30 0d |...MOVEQ|.#15,D0.| |00002660| 09 09 5f 4f 66 66 73 63 | 72 65 65 6e 0d 09 09 45 |.._Offsc|reen...E| |00002670| 4e 44 4d 0d 09 09 0d 09 | 09 4d 41 43 52 4f 0d 09 |NDM.....|.MACRO..| |00002680| 09 5f 4e 65 77 53 63 72 | 65 65 6e 42 75 66 66 65 |._NewScr|eenBuffe| |00002690| 72 0d 09 09 4d 4f 56 45 | 51 09 23 31 36 2c 44 30 |r...MOVE|Q.#16,D0| |000026a0| 0d 09 09 5f 4f 66 66 73 | 63 72 65 65 6e 0d 09 09 |..._Offs|creen...| |000026b0| 45 4e 44 4d 0d 09 09 0d | 09 09 4d 41 43 52 4f 0d |ENDM....|..MACRO.| |000026c0| 09 09 5f 44 69 73 70 6f | 73 65 53 63 72 65 65 6e |.._Dispo|seScreen| |000026d0| 42 75 66 66 65 72 0d 09 | 09 4d 4f 56 45 51 09 23 |Buffer..|.MOVEQ.#| |000026e0| 31 37 2c 44 30 0d 09 09 | 5f 4f 66 66 73 63 72 65 |17,D0...|_Offscre| |000026f0| 65 6e 0d 09 09 45 4e 44 | 4d 0d 0d 09 09 4d 41 43 |en...END|M....MAC| |00002700| 52 4f 0d 09 09 5f 47 65 | 74 47 57 6f 72 6c 64 44 |RO..._Ge|tGWorldD| |00002710| 65 76 69 63 65 0d 09 09 | 4d 4f 56 45 51 09 23 31 |evice...|MOVEQ.#1| |00002720| 38 2c 44 30 0d 09 09 5f | 4f 66 66 73 63 72 65 65 |8,D0..._|Offscree| |00002730| 6e 0d 09 09 45 4e 44 4d | 0d 0d 3b 20 3b 3b 3b 3b |n...ENDM|..; ;;;;| |00002740| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00002750| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00002760| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00002770| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00002780| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00002790| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |000027a0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |000027b0| 3b 3b 3b 3b 3b 3b 3b 3b | 0d 3b 20 3b 3b 3b 3b 3b |;;;;;;;;|.; ;;;;;| |000027c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |000027d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |000027e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |000027f0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00002800| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00002810| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00002820| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;| |00002830| 3b 3b 3b 3b 3b 3b 3b 0d | 0d 44 65 76 65 6c 6f 70 |;;;;;;;.|.Develop| |00002840| 65 72 73 20 75 73 69 6e | 67 20 61 20 64 65 76 65 |ers usin|g a deve| |00002850| 6c 6f 70 6d 65 6e 74 20 | 64 69 66 66 65 72 65 6e |lopment |differen| |00002860| 74 20 66 72 6f 6d 20 4d | 50 57 20 61 72 65 20 65 |t from M|PW are e| |00002870| 6e 63 6f 75 72 61 67 65 | 64 20 74 6f 20 67 65 74 |ncourage|d to get| |00002880| 20 69 6e 20 74 6f 75 63 | 68 20 77 69 74 68 20 74 | in touc|h with t| |00002890| 68 65 20 70 75 62 6c 69 | 73 68 65 72 20 6f 66 20 |he publi|sher of | |000028a0| 74 68 65 20 70 61 63 6b | 61 67 65 20 74 68 65 79 |the pack|age they| |000028b0| 20 75 73 65 20 74 6f 20 | 61 73 6b 20 66 6f 72 20 | use to |ask for | |000028c0| 74 68 65 20 69 6e 74 65 | 72 66 61 63 65 73 20 72 |the inte|rfaces r| |000028d0| 65 71 75 69 72 65 64 2e | 0d 0d 0d 00 00 00 00 00 |equired.|........| |000028e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000028f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002900| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........| |00002910| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo| |00002920| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally| |00002930| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..| |00002940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000029a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000029b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000029c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000029d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000029e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000029f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002a00| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........| |00002a10| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........| |00002a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| +--------+-------------------------+-------------------------+--------+--------+